﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PackageManagementBill.aspx.cs" Inherits="PackageManagementBill" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        <asp:GridView ID="grvTopUp" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" DataKeyNames="id_TU" 
            ondatabound="grvTopUp_DataBound" onrowcancelingedit="grvTopUp_RowCancelingEdit" 
            onrowdatabound="grvTopUp_RowDataBound" onrowdeleting="grvTopUp_RowDeleting" 
            onrowediting="grvTopUp_RowEditing" onrowupdating="grvTopUp_RowUpdating" 
            PageSize="5" ShowFooter="True" Width="633px">
            <Columns>
                <asp:TemplateField>
                    <FooterTemplate>
                        <asp:ImageButton ID="imgDelAll" runat="server" onclick="imgDelAll_Click" />
                    </FooterTemplate>
                    <HeaderTemplate>
                        <asp:CheckBox ID="chkAll" runat="server" AutoPostBack="True" 
                            oncheckedchanged="chkAll_CheckedChanged" Text="All" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkDel" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="id_TU" HeaderText="Id" />
                <asp:BoundField DataField="_duration" HeaderText="Duration" />
                <asp:BoundField DataField="_denominations" HeaderText="Denominations" />
                <asp:BoundField DataField="_discount" HeaderText="Discount" />
                <asp:BoundField DataField="_total" HeaderText="Total" />
                <asp:TemplateField HeaderText="Edit">
                    <EditItemTemplate>
                        <asp:ImageButton ID="imgUpdate" runat="server" CommandName="update" />
                        <asp:ImageButton ID="imgReset" runat="server" CommandName="cancel" />
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:ImageButton ID="imgEdit" runat="server" CommandName="edit" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Delete">
                    <ItemTemplate>
                        <asp:ImageButton ID="imgDel" runat="server" CommandName="delete" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
            </ContentTemplate></asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
